package com.jvup.gameshow.activity;

import com.jvup.common.support.base.BaseActivity;
import com.jvup.common.constant.Navigation;
import com.jvup.common.inject.EventControllerInjector;
import com.jvup.common.inject.ViewModelInjector;
import com.jvup.gameshow.R;
import com.jvup.gameshow.controller.IdeaDetailController;
import com.jvup.gameshow.databinding.ActivityIdeaDetailBinding;
import com.jvup.gameshow.model.viewModel.impl.IdeaDetailViewModel;
import com.qire.antscore.annotation.RouteMapping;
import com.qire.antsrouter.inject.Autowired;

/**
 * 创意想法详情页
 */
@RouteMapping(path = Navigation.Page.IdeaDetailPage)
public class IdeaDetailActivity extends BaseActivity<ActivityIdeaDetailBinding> {

    @Autowired(injector = ViewModelInjector.class)
    IdeaDetailViewModel viewModel;

    @Autowired(injector = EventControllerInjector.class)
    IdeaDetailController controller;

    @Autowired()
    String ideaId;

    @Override
    public int layoutRid() {
        return R.layout.activity_idea_detail;
    }

}
